package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/8.
 */

public class ExhibitionDetailsEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public class Result {
        @Expose
        @SerializedName("start_time")
        public String startTime;// 展会开展时间
        @Expose
        @SerializedName("cover_image_url")
        public String coverImage;// 封面图片地址
        @Expose
        @SerializedName("limited")
        public int limit;//购票限制
        @Expose
        @SerializedName("id")
        public int id;// 展会id
        @Expose
        @SerializedName("address")
        public String address;// 展会详细地址
        @Expose
        @SerializedName("exhibition_ticket_list")
        public List<Property> ticketList;//展会门票属性
        @Expose
        @SerializedName("is_collected")
        public boolean isCollected; // 是否已关注，0-否 1-是
        @Expose
        @SerializedName("district")
        public String district; // 展会区(县)
        @Expose
        @SerializedName("is_buyable")
        public int isBuyable;// 是否可以购票， 0-否 1-是
        @Expose
        @SerializedName("end_time")
        public String endTime;// 展会结束时间
        @Expose
        @SerializedName("stop_purchase_time")
        public String stopPurchaseTime; // 停止购票时间
        @Expose
        @SerializedName("province")
        public String province;// 展会省份
        @Expose
        @SerializedName("note")
        public String note;//备注
        @Expose
        @SerializedName("special_guest_list")
        public List<Guest> guestList;//漫展嘉宾
        @Expose
        @SerializedName("name")
        public String name;//展会名称
        @Expose
        @SerializedName("city")
        public String city;//展会城市
    }

    public static class Property {
        @Expose
        @SerializedName("content")
        public String content;
        @Expose
        @SerializedName("exhibition_id")
        public int exhibitionId;
        @Expose
        @SerializedName("id")
        public int id;
        @Expose
        @SerializedName("stock")
        public int stock;
        @Expose
        @SerializedName("discounted_price")
        public float discountedPrice;
        @Expose
        @SerializedName("total_count")
        public int totalCount;
        @Expose
        @SerializedName("original_price")
        public float originalPrice;
    }

    public static class Guest {
        @Expose
        @SerializedName("introduce")
        public String introduce;
        @Expose
        @SerializedName("image_url")
        public String image;
        @Expose
        @SerializedName("guest_name")
        public String guestName;
        @Expose
        @SerializedName("id")
        public int id;
    }
}
